﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace AulaVirtualService
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "ICursoAvService" in both code and config file together.
    [ServiceContract]
    public interface ICursoAvService
    {
        
        [OperationContract]
        AulaVirtualService.Dominio.Curso obtenerCurso(int id);
        [OperationContract]
        AulaVirtualService.Dominio.Curso crearCurso(string nombre, string tipo, int duracionHoras, string preRequisito);
        [OperationContract]
        AulaVirtualService.Dominio.Curso modificarCurso(int id, string nombre, string tipo, int duracionHoras, string preRequisito);
        [OperationContract]
        void eliminarCurso(int id);
        [OperationContract]
        List<AulaVirtualService.Dominio.Curso> listarCursos();
    }
}
